Skip to content

fix(release-assets): finish caller-neutral skew wording; document the v1 opt-in - #3445

Merged
kwakayama merged 1 commit into
mainfrom
fix/manifest-skew-wording-and-v1-docs
Aug 7, 2026
Merged

fix(release-assets): finish caller-neutral skew wording; document the v1 opt-in#3445
kwakayama merged 1 commit into
mainfrom
fix/manifest-skew-wording-and-v1-docs

Conversation

@kwakayama

@kwakayama kwakayama commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #3436, which merged while these two review items were still open.

Skew message wording. ce2447e made the rejection reasons caller-neutral ("the one reading them", "the one requested"), but the same sentence still opened with "this build reads". manifest-cache.ts:473 emits this reason on the runtime read path, where no build is in progress, so the line was still misleading in a server log. Now reads "this framework reads", which matches the "one reading them" clause the rest of the message already uses. The one CLI assertion that pinned the old wording moves with it.

acceptLegacyV1 documentation. The public API reference described ReleaseAssetManifestParseOptions only as "Options shared by the dependency-free consumption parsers", which left the compatibility contract invisible. The JSDoc now states that acceptLegacyV1 defaults to false, that a v1 body is otherwise rejected as a schema skew, and when a caller should set it to true. docs/api-reference/veryfront/release-assets.md is regenerated from that JSDoc.

Both items were raised on #3436: the wording by Copilot (suppressed comment on manifest-schema.ts:459) and the documentation gap by CodeRabbit.

Verified: deno task docs:api-reference:check exits 0; src/release-assets/manifest-schema.test.ts and cli/shared/deployment/deploy-project.test.ts are 11 passed (95 steps), 0 failed.

Summary by CodeRabbit

  • Documentation

    • Clarified that legacy v1 release asset manifests are rejected by default.
    • Documented how compatible read paths can explicitly enable legacy manifest support.
    • Updated API reference source links and formatting.
  • Bug Fixes

    • Corrected legacy manifest schema-version error messaging to reference the supported framework version.

… v1 opt-in

manifest-cache logs this rejection on the runtime read path, where 'this
build reads' is wrong. Say 'this framework reads', matching the
'one reading them' clause the rest of the message already uses.

Document on ReleaseAssetManifestParseOptions that acceptLegacyV1 defaults
to false and what setting it to true means, and regenerate the API
reference from that JSDoc.
@kwakayama
kwakayama requested a review from kojiwakayama as a code owner August 7, 2026 03:17
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 735f29a3-b873-4133-8206-e856dd10e9a4

📥 Commits

Reviewing files that changed from the base of the PR and between d35ec0f and bff2bed.

📒 Files selected for processing (3)
  • cli/shared/deployment/deploy-project.test.ts
  • docs/api-reference/veryfront/release-assets.md
  • src/release-assets/manifest-schema.ts

📝 Walkthrough

Walkthrough

The change documents that legacy v1 manifest parsing is disabled by default and requires per-call opt-in. It also updates schema-version rejection wording, deployment test expectations, API source links, and type-table formatting.

Changes

Manifest parsing

Layer / File(s) Summary
Parser contract and rejection diagnostics
src/release-assets/manifest-schema.ts, cli/shared/deployment/deploy-project.test.ts
Documents the default-disabled acceptLegacyV1 option, updates rejection wording to reference the framework, and aligns the deployment test expectation.
API reference alignment
docs/api-reference/veryfront/release-assets.md
Updates source links, formats the Types table, and documents legacy v1 parsing behavior.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested reviewers: kojiwakayama

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the manifest wording update and documentation of the v1 opt-in.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/manifest-skew-wording-and-v1-docs

Comment @coderabbitai help to get the list of available commands.

@kwakayama
kwakayama added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit e74948a Aug 7, 2026
31 checks passed
@kwakayama
kwakayama deleted the fix/manifest-skew-wording-and-v1-docs branch August 7, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant